CRPEJob::SetLineHeight

Use SetLineHeight to set the line height for the specified section. This method can be used for setting up a report to print on preprinted forms. It can also be used if you want to insure the size of a line in relation to the font size. For example, this method might be used to specify a 12 point line with 10 point type.

Syntax
SetLineHeight (sectionCode SMALLINT, lineN SMALLINT, height SMALLINT, 
ascent SMALLINT) RETURNING BOOLEAN
Parameters

sectionCode

Specifies the Section Codes, for the section of the report for which you want to set line height.

lineN

Specifies the 0-based number of the line for which you are setting the height. The first line in a section is line number 0, the next is 1, etc. Use PEP_ALLLINES to specify all lines in the section.

height

Specifies the height, in twips, of the line.

ascent

Specifies the ascent, in twips, of the line. Line ascent is the distance from the baseline of the font to the top of the line space.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com